package com.liuwei.msmall.auth.feign;

import com.liuwei.msmall.common.dto.SocialUserDTO;
import com.liuwei.msmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Classname MemberFeignService
 * @Description TODO
 * @Date 2020/6/25 16:49
 * @Created by 刘
 */
@FeignClient("msmall-member-service")
public interface MemberFeignService {


    @PostMapping("/member/member/weibologin")
    R weibologin(@RequestBody SocialUserDTO to);

}
